package com.gxl.design.strategypattern.strategy;

public class RedPage implements Strategy {
    @Override
    public Double doOperation(Integer price) {
        Double d = Double.valueOf(price - 10);
        System.out.println("红包优惠后的价格: " + d);
        return d;
    }
}
